package com.zxgj.datadirect.feign;

import com.zxgj.datadirect.entity.req.NationalApplyReq;
import com.zxgj.datadirect.entity.resp.NationalApplyResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "national-data-platform", url = "${national.data.platform.url}")
public interface NationalDataFeign {

    @PostMapping("/apply/submit")
    NationalApplyResp submitApply(@RequestBody NationalApplyReq nationalReq);
}